import { createStackNavigator } from 'react-navigation-stack';
import { Parent, Parent1, Parent2, } from './parent.index';


const ParentStack = createStackNavigator(
  {
    parent: {
      screen: Parent,
    },
    parent1: {
      screen: Parent1,
    },
    parent2: {
      screen: Parent2,
    },
    others: {
      screen: OthersStack,
    }
  },
  {
    defaultNavigationOptions: {
      headerShown: false,
    },
  },
);

export default ParentStack;
